projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
182ba1a
)
arm64: mvebu: Add regions for PCI spaces to the memory map
author
Stefan Roese
<
[email protected]
>
Thu, 27 Oct 2016 11:34:03 +0000
(13:34 +0200)
committer
Stefan Roese
<
[email protected]
>
Mon, 5 Dec 2016 12:34:33 +0000
(13:34 +0100)
To use the PCIe driver, its controller memory and the PCIe regions need
to get mapped in the MMU. Otherwise these areas can't be accessed.
Signed-off-by: Stefan Roese <
[email protected]
>
Cc: Nadav Haklai <
[email protected]
>
Cc: Neta Zur Hershkovits <
[email protected]
>
Cc: Kostya Porotchkin <
[email protected]
>
Cc: Omri Itach <
[email protected]
>
Cc: Igal Liberman <
[email protected]
>
Cc: Haim Boot <
[email protected]
>
Cc: Hanna Hawa <
[email protected]
>
arch/arm/mach-mvebu/armada8k/cpu.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-mvebu/armada8k/cpu.c
b/arch/arm/mach-mvebu/armada8k/cpu.c
index f8e69d65e9cacbda5899430940ec73785dd1cdb1..2719d68e076fa27bb024e465456c143dd7473fae 100644
(file)
--- a/
arch/arm/mach-mvebu/armada8k/cpu.c
+++ b/
arch/arm/mach-mvebu/armada8k/cpu.c
@@
-54,6
+54,14
@@
static struct mm_region mvebu_mem_map[] = {
.attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
PTE_BLOCK_NON_SHARE
},
+ {
+ /* PCI regions */
+ .phys = 0xf8000000UL,
+ .virt = 0xf8000000UL,
+ .size = 0x08000000UL, /* 128MiB PCI space (master & slave) */
+ .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
+ PTE_BLOCK_NON_SHARE
+ },
{
/* List terminator */
0,